home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
program
/
cxsplitt.zip
/
UNIT1.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-07-10
|
1KB
|
54 lines
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, StdCtrls, comSplitter, ExtCtrls;
type
TForm1 = class(TForm)
comSplitter1: TcomSplitter;
ScrollBox1: TScrollBox;
comSplitter2: TcomSplitter;
Panel1: TPanel;
comSplitter3: TcomSplitter;
Panel3: TPanel;
TrackBar1: TTrackBar;
Memo1: TMemo;
Memo2: TMemo;
Memo3: TMemo;
procedure TrackBar1Change(Sender: TObject);
procedure comSplitter1Change(Sender: TObject);
procedure comSplitterDblClick(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.TrackBar1Change(Sender: TObject);
begin
comSplitter1.Position:=TrackBar1.Position;
end;
procedure TForm1.comSplitter1Change(Sender: TObject);
begin
TrackBar1.Position := comSplitter1.Position;
end;
procedure TForm1.comSplitterDblClick(Sender: TObject);
begin
with Sender as TcomSplitter do
Vertical:=not Vertical;
end;
end.